package com.inphase.myfood.model;

import java.sql.Timestamp;

/**
 * Torder entity. @author MyEclipse Persistence Tools
 */

public class Torder implements java.io.Serializable {

	// Fields

	private Long orderId;
	private Food food;
	private Member member;
	private String userName;
	private String telephone;
	private Long count;
	private Float price;
	private Timestamp createTime;
	private String status;

	// Constructors

	/** default constructor */
	public Torder() {
	}

	/** minimal constructor */
	public Torder(Member member) {
		this.member = member;
	}

	/** full constructor */
	public Torder(Long orderId, Food food, Member member, String userName,
			String telephone, Long count, Float price, Timestamp createTime,
			String status) {
		super();
		this.orderId = orderId;
		this.food = food;
		this.member = member;
		this.userName = userName;
		this.telephone = telephone;
		this.count = count;
		this.price = price;
		this.createTime = createTime;
		this.status = status;
	}

	// Property accessors

	public Long getOrderId() {
		return this.orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public Food getFood() {
		return this.food;
	}

	public void setFood(Food food) {
		this.food = food;
	}

	public Member getMember() {
		return this.member;
	}

	public void setMember(Member member) {
		this.member = member;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public Long getCount() {
		return this.count;
	}

	public void setCount(Long count) {
		this.count = count;
	}

	public Float getPrice() {
		return this.price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}